﻿using System;

namespace MiniFox.Platform
{
    /// <summary>
    /// 
    /// </summary>
    [AttributeUsage(AttributeTargets.Method)]
    public class OpenApiAttribute : Attribute
    {
        string _name;
        /// <summary>
        /// 
        /// </summary>
        public OpenApiAttribute() : this(string.Empty)
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="name"></param>
        public OpenApiAttribute(string name)
        {
            _name = name;
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            get { return _name; }
        }
    }
}